.class public Lcom/netease/newsreader/activity/ReplyMeActivity;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "ReplyMeActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Landroid/view/View$OnClickListener;
.implements Lcom/netease/newsreader/activity/MyCommentsActivity$OnTabSelectedListener;
.implements Landroid/view/View$OnTouchListener;
.implements Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/netease/newsreader/activity/BaseActivity;",
        "Landroid/widget/AdapterView$OnItemClickListener;",
        "Landroid/view/View$OnClickListener;",
        "Lcom/netease/newsreader/activity/MyCommentsActivity$OnTabSelectedListener;",
        "Landroid/view/View$OnTouchListener;",
        "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;"
    }
.end annotation


# static fields
.field private static final DIALOG_REPLY:I = 0x0

.field private static final LOADING_ITEM_NUM:I = 0xa

.field private static final MSG_LOADING_REPLYME:I = 0x0

.field private static final MSG_LOADING_REPLYME_MORE:I = 0x1

.field private static final MSG_REPLY:I = 0x2


# instance fields
.field private mAccount:Ljava/lang/String;

.field private mHandler:Landroid/os/Handler;

.field private mImm:Landroid/view/inputmethod/InputMethodManager;

.field private mListView:Lcom/netease/newsreader/view/LoadingListView;

.field private mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

.field private mReplyEditText:Landroid/widget/EditText;

.field private mReplyFrameView:Landroid/view/View;

.field private mReplyMe:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field

.field private mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

.field private mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

.field private mToolPopupX:I

.field private mToolPopupY:I


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 47
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 196
    new-instance v0, Lcom/netease/newsreader/activity/ReplyMeActivity$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ReplyMeActivity$1;-><init>(Lcom/netease/newsreader/activity/ReplyMeActivity;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mHandler:Landroid/os/Handler;

    .line 47
    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ReplyMeActivity;Ljava/util/Map;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 283
    invoke-direct {p0, p1}, Lcom/netease/newsreader/activity/ReplyMeActivity;->handleReplyMe(Ljava/util/Map;)V

    return-void
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/ReplyMeActivity;Ljava/util/Map;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 306
    invoke-direct {p0, p1}, Lcom/netease/newsreader/activity/ReplyMeActivity;->handleReplyMeMore(Ljava/util/Map;)V

    return-void
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/ReplyMeActivity;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 459
    invoke-direct {p0, p1}, Lcom/netease/newsreader/activity/ReplyMeActivity;->handleReply(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/ReplyMeActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 76
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/ReplyMeActivity;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 196
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/ReplyMeActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 156
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->onLoginChanged()V

    return-void
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/ReplyMeActivity;)Lcom/netease/newsreader/adapter/ReplyMeAdapter;
    .locals 1
    .parameter

    .prologue
    .line 60
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    return-object v0
.end method

.method private applyLoadingListView(Lcom/netease/newsreader/view/LoadingListView;)V
    .locals 3
    .parameter "loadingListView"

    .prologue
    .line 614
    if-nez p1, :cond_1

    .line 629
    :cond_0
    :goto_0
    return-void

    .line 617
    :cond_1
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    .line 619
    .local v0, themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;
    invoke-virtual {p1}, Lcom/netease/newsreader/view/LoadingListView;->getListView()Landroid/widget/ListView;

    move-result-object v1

    if-eqz v1, :cond_2

    .line 620
    invoke-virtual {p1}, Lcom/netease/newsreader/view/LoadingListView;->getListView()Landroid/widget/ListView;

    move-result-object v1

    .line 621
    const v2, 0x7f020070

    .line 620
    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setListViewDivider(Landroid/content/Context;Landroid/widget/ListView;I)V

    .line 623
    :cond_2
    invoke-virtual {p1}, Lcom/netease/newsreader/view/LoadingListView;->getLoadingMoreView()Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 624
    invoke-virtual {p1}, Lcom/netease/newsreader/view/LoadingListView;->getLoadingMoreView()Landroid/view/View;

    move-result-object v1

    .line 625
    const v2, 0x7f020086

    .line 624
    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 627
    invoke-virtual {p1}, Lcom/netease/newsreader/view/LoadingListView;->getLoadingMoreView()Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    const v2, 0x7f080027

    .line 626
    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    goto :goto_0
.end method

.method private dispatchKeyForReply(Landroid/view/KeyEvent;)Z
    .locals 3
    .parameter "event"

    .prologue
    const/4 v0, 0x1

    .line 479
    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getVisibility()I

    move-result v1

    if-nez v1, :cond_1

    .line 480
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v1

    const/4 v2, 0x4

    if-ne v1, v2, :cond_1

    .line 481
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v1

    if-ne v1, v0, :cond_0

    .line 483
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->hideReplyFrame()V

    .line 488
    :cond_0
    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private dispatchToolPopupClick(I)Z
    .locals 15
    .parameter "id"

    .prologue
    .line 502
    const/4 v7, 0x1

    .line 503
    .local v7, ret:Z
    sparse-switch p1, :sswitch_data_0

    .line 591
    const/4 v7, 0x0

    .line 594
    :cond_0
    :goto_0
    if-eqz v7, :cond_1

    .line 595
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v12}, Lcom/netease/newsreader/view/CommentToolsPopup;->dismiss()V

    :cond_1
    move v8, v7

    .line 597
    .end local v7           #ret:Z
    .local v8, ret:I
    :goto_1
    return v8

    .line 505
    .end local v8           #ret:I
    .restart local v7       #ret:Z
    :sswitch_0
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v12}, Lcom/netease/newsreader/view/CommentToolsPopup;->getTag()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/Map;

    .line 506
    .local v5, map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v12, "bd"

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v5, Ljava/util/Map;

    .line 507
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-interface {v5}, Ljava/util/Map;->size()I

    move-result v12

    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v12

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v5, Ljava/util/Map;

    .line 508
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    if-eqz v5, :cond_0

    .line 509
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->getTitle()Ljava/lang/CharSequence;

    move-result-object v12

    invoke-interface {v12}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v12

    invoke-static {p0, v12, v5}, Lcom/netease/newsreader/util/ShareUtil;->showShareDialog(Landroid/content/Context;Ljava/lang/String;Ljava/util/Map;)V

    goto :goto_0

    .line 514
    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    :sswitch_1
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mImm:Landroid/view/inputmethod/InputMethodManager;

    if-nez v12, :cond_2

    .line 515
    const-string v12, "input_method"

    invoke-virtual {p0, v12}, Lcom/netease/newsreader/activity/ReplyMeActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Landroid/view/inputmethod/InputMethodManager;

    iput-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mImm:Landroid/view/inputmethod/InputMethodManager;

    .line 517
    :cond_2
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const/4 v13, 0x0

    invoke-virtual {v12, v13}, Landroid/view/View;->setVisibility(I)V

    .line 518
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const v13, 0x7f0c00bf

    invoke-virtual {v12, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    .line 519
    .local v6, replyButton:Landroid/widget/Button;
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v12}, Lcom/netease/newsreader/view/CommentToolsPopup;->getTag()Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v6, v12}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    .line 520
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    invoke-virtual {v12}, Landroid/widget/EditText;->requestFocus()Z

    .line 521
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mImm:Landroid/view/inputmethod/InputMethodManager;

    iget-object v13, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    const/4 v14, 0x0

    invoke-virtual {v12, v13, v14}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    goto :goto_0

    .line 525
    .end local v6           #replyButton:Landroid/widget/Button;
    :sswitch_2
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v12}, Lcom/netease/newsreader/view/CommentToolsPopup;->getTag()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/Map;

    .line 526
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v12, "bd"

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v5, Ljava/util/Map;

    .line 528
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    if-eqz v5, :cond_3

    invoke-interface {v5}, Ljava/util/Map;->size()I

    move-result v12

    if-nez v12, :cond_4

    :cond_3
    move v8, v7

    .line 529
    .restart local v8       #ret:I
    goto :goto_1

    .line 532
    .end local v8           #ret:I
    :cond_4
    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    .line 533
    .local v9, sb:Ljava/lang/StringBuilder;
    const/4 v2, 0x0

    .line 535
    .local v2, i:I
    :goto_2
    add-int/lit8 v12, v2, 0x1

    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v12

    .line 534
    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/Map;

    .line 536
    .local v4, item:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    if-nez v4, :cond_5

    .line 549
    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v12

    invoke-static {p0, v12}, Lcom/netease/newsreader/util/Tools;->copyText(Landroid/content/Context;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 539
    :cond_5
    if-lez v2, :cond_6

    .line 540
    const-string v12, "||"

    invoke-virtual {v9, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 543
    :cond_6
    invoke-interface {v5}, Ljava/util/Map;->size()I

    move-result v12

    const/4 v13, 0x1

    if-le v12, v13, :cond_7

    .line 544
    add-int/lit8 v12, v2, 0x1

    invoke-virtual {v9, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v12

    const-string v13, "\u697c:"

    invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 546
    :cond_7
    const-string v12, "b"

    invoke-static {v4, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/lang/String;

    invoke-virtual {v9, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 533
    add-int/lit8 v2, v2, 0x1

    goto :goto_2

    .line 553
    .end local v2           #i:I
    .end local v4           #item:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v9           #sb:Ljava/lang/StringBuilder;
    :sswitch_3
    iget-object v12, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v12}, Lcom/netease/newsreader/view/CommentToolsPopup;->getTag()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/util/Map;

    .line 554
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v12, "bd"

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v5, Ljava/util/Map;

    .line 555
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-interface {v5}, Ljava/util/Map;->size()I

    move-result v12

    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v12

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    .end local v5           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v5, Ljava/util/Map;

    .line 557
    .restart local v5       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v12, "k"

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/lang/String;

    .line 558
    .local v11, url:Ljava/lang/String;
    invoke-static {v11}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-eqz v12, :cond_8

    .line 559
    const v12, 0x7f0b00ae

    const/4 v13, 0x0

    invoke-static {p0, v12, v13}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v12

    invoke-virtual {v12}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 562
    :cond_8
    invoke-static {v11}, Lcom/netease/newsreader/model/Comment;->validateArticleUrl(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_9

    .line 563
    const-string v12, "pi"

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 564
    .local v1, docid:Ljava/lang/String;
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-nez v12, :cond_0

    .line 565
    const-string v12, "_"

    invoke-virtual {v1, v12}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v10

    .line 566
    .local v10, ss:[Ljava/lang/String;
    if-eqz v10, :cond_0

    array-length v12, v10

    if-lez v12, :cond_0

    .line 567
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 568
    .local v0, b:Landroid/os/Bundle;
    const-string v12, "docid"

    const/4 v13, 0x0

    aget-object v13, v10, v13

    invoke-virtual {v0, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 569
    const-string v12, "isCollect"

    const/4 v13, 0x1

    invoke-virtual {v0, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 570
    const-string v12, "iscomeMyReply"

    const/4 v13, 0x1

    invoke-virtual {v0, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 571
    const-string v12, "position"

    const-string v13, "0"

    invoke-virtual {v0, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 572
    const-string v12, "tid"

    const-string v13, "attitude"

    invoke-virtual {v0, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 575
    const-string v12, "url"

    invoke-virtual {v0, v12, v11}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 576
    new-instance v3, Landroid/content/Intent;

    const-class v12, Lcom/netease/newsreader/activity/DetailPage;

    invoke-direct {v3, p0, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 577
    .local v3, intent:Landroid/content/Intent;
    invoke-virtual {v3, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 578
    invoke-virtual {p0, v3}, Lcom/netease/newsreader/activity/ReplyMeActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 582
    .end local v0           #b:Landroid/os/Bundle;
    .end local v1           #docid:Ljava/lang/String;
    .end local v3           #intent:Landroid/content/Intent;
    .end local v10           #ss:[Ljava/lang/String;
    :cond_9
    new-instance v3, Landroid/content/Intent;

    const-class v12, Lcom/netease/newsreader/activity/WebViewActivity;

    invoke-direct {v3, p0, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 583
    .restart local v3       #intent:Landroid/content/Intent;
    const-string v12, "url"

    invoke-virtual {v3, v12, v11}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 584
    const-string v13, "title"

    const-string v12, "s"

    invoke-static {v5, v12}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/lang/String;

    invoke-virtual {v3, v13, v12}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 585
    invoke-virtual {p0, v3}, Lcom/netease/newsreader/activity/ReplyMeActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 503
    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0061 -> :sswitch_0
        0x7f0c0062 -> :sswitch_2
        0x7f0c0063 -> :sswitch_1
        0x7f0c0102 -> :sswitch_3
    .end sparse-switch
.end method

.method private getMyParent()Lcom/netease/newsreader/activity/MyCommentsActivity;
    .locals 1

    .prologue
    .line 330
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->getParent()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/activity/MyCommentsActivity;

    return-object v0
.end method

.method private handleReply(Ljava/lang/String;)V
    .locals 4
    .parameter "result"

    .prologue
    const/4 v3, 0x0

    .line 460
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    .line 461
    const-string v1, "1"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 462
    const-string v1, "\u53d1\u8868\u6210\u529f"

    invoke-static {p0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 463
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->hideReplyFrame()V

    .line 476
    :goto_0
    return-void

    .line 465
    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    .line 467
    .local v0, res:Ljava/lang/String;
    const-string v1, "postdata"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 468
    const-string v0, "\u5185\u5bb9\u542b\u6709\u975e\u6cd5\u5b57\u7b26"

    .line 471
    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u53d1\u8868\u5931\u8d25\uff0c\u539f\u56e0:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 474
    .end local v0           #res:Ljava/lang/String;
    :cond_2
    const-string v1, "\u53d1\u8868\u5931\u8d25"

    invoke-static {p0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method

.method private handleReplyMe(Ljava/util/Map;)V
    .locals 8
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, result:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const/4 v3, 0x1

    const/4 v4, 0x0

    .line 284
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v2}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getCurrentActivity()Landroid/app/Activity;

    move-result-object v2

    if-ne v2, p0, :cond_0

    .line 285
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const v5, 0x7f0c0070

    const/16 v6, 0x8

    invoke-virtual {v2, v5, v6}, Lcom/netease/newsreader/activity/MyCommentsActivity;->setViewVisibility(II)V

    .line 288
    :cond_0
    if-eqz p1, :cond_1

    .line 289
    const-string v2, "0"

    const-string v5, "success"

    invoke-static {p1, v5}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {v2, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 290
    :cond_1
    const-string v2, "error"

    invoke-static {p1, v2}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 291
    .local v0, errStr:Ljava/lang/String;
    invoke-static {p0, v0, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 292
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2, v4, v3}, Lcom/netease/newsreader/view/LoadingListView;->completeLoading(ZZ)V

    .line 304
    .end local v0           #errStr:Ljava/lang/String;
    :goto_0
    return-void

    .line 294
    :cond_2
    iput-object p1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMe:Ljava/util/Map;

    .line 296
    const-string v2, "sList"

    .line 295
    invoke-static {p1, v2}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    .line 297
    .local v1, list:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;"
    new-instance v5, Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    .line 298
    if-nez v1, :cond_3

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    :goto_1
    invoke-direct {v5, p0, v2}, Lcom/netease/newsreader/adapter/ReplyMeAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    .line 297
    iput-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    .line 299
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v5}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getSharedPreferences()Landroid/content/SharedPreferences;

    move-result-object v5

    .line 300
    const-string v6, "currentSizeId"

    const/4 v7, 0x2

    invoke-interface {v5, v6, v7}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v5

    .line 299
    invoke-static {v5}, Lcom/netease/newsreader/activity/DetailPage;->getTextSize(I)F

    move-result v5

    invoke-virtual {v2, v5}, Lcom/netease/newsreader/adapter/ReplyMeAdapter;->setTextSize(F)V

    .line 301
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2}, Lcom/netease/newsreader/view/LoadingListView;->getListView()Landroid/widget/ListView;

    move-result-object v2

    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    invoke-virtual {v2, v5}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 302
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    if-eqz v1, :cond_4

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    const/16 v6, 0xa

    if-ne v2, v6, :cond_4

    move v2, v3

    :goto_2
    invoke-virtual {v5, v3, v2}, Lcom/netease/newsreader/view/LoadingListView;->completeLoading(ZZ)V

    goto :goto_0

    :cond_3
    move-object v2, v1

    .line 298
    goto :goto_1

    :cond_4
    move v2, v4

    .line 302
    goto :goto_2
.end method

.method private handleReplyMeMore(Ljava/util/Map;)V
    .locals 8
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, result:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const/4 v4, 0x1

    const/4 v5, 0x0

    .line 307
    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v3}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getCurrentActivity()Landroid/app/Activity;

    move-result-object v3

    if-ne v3, p0, :cond_0

    .line 308
    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const v6, 0x7f0c0070

    const/16 v7, 0x8

    invoke-virtual {v3, v6, v7}, Lcom/netease/newsreader/activity/MyCommentsActivity;->setViewVisibility(II)V

    .line 310
    :cond_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v3}, Lcom/netease/newsreader/view/LoadingListView;->getLoadingMoreView()Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/Button;

    const v6, 0x7f0b001a

    invoke-virtual {v3, v6}, Landroid/widget/Button;->setText(I)V

    .line 312
    if-eqz p1, :cond_1

    .line 313
    const-string v3, "0"

    const-string v6, "success"

    invoke-static {p1, v6}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v6

    invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 314
    :cond_1
    const-string v3, "error"

    invoke-static {p1, v3}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 315
    .local v0, errStr:Ljava/lang/String;
    invoke-static {p0, v0, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/Toast;->show()V

    .line 316
    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v3, v5, v4}, Lcom/netease/newsreader/view/LoadingListView;->completeLoadingMore(ZZ)V

    .line 327
    .end local v0           #errStr:Ljava/lang/String;
    :goto_0
    return-void

    .line 319
    :cond_2
    const-string v3, "sList"

    .line 318
    invoke-static {p1, v3}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    .line 320
    .local v1, list:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;>;"
    if-eqz v1, :cond_3

    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    if-eqz v3, :cond_3

    .line 321
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-nez v6, :cond_4

    .line 325
    :cond_3
    iget-object v6, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    if-eqz v1, :cond_5

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v3

    const/16 v7, 0xa

    if-ne v3, v7, :cond_5

    move v3, v4

    :goto_2
    invoke-virtual {v6, v4, v3}, Lcom/netease/newsreader/view/LoadingListView;->completeLoadingMore(ZZ)V

    goto :goto_0

    .line 321
    :cond_4
    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/Map;

    .line 322
    .local v2, map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    iget-object v6, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    invoke-virtual {v6, v2}, Lcom/netease/newsreader/adapter/ReplyMeAdapter;->add(Ljava/lang/Object;)V

    goto :goto_1

    .end local v2           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_5
    move v3, v5

    .line 325
    goto :goto_2
.end method

.method private hideReplyFrame()V
    .locals 3

    .prologue
    .line 492
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    .line 493
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 494
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 495
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mImm:Landroid/view/inputmethod/InputMethodManager;

    if-eqz v0, :cond_0

    .line 496
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mImm:Landroid/view/inputmethod/InputMethodManager;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    .line 499
    :cond_0
    return-void
.end method

.method private init()V
    .locals 8

    .prologue
    const/4 v7, 0x0

    .line 95
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    .line 96
    .local v0, inflate:Landroid/view/LayoutInflater;
    const v5, 0x7f0c00cb

    invoke-virtual {p0, v5}, Lcom/netease/newsreader/activity/ReplyMeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Lcom/netease/newsreader/view/LoadingListView;

    iput-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    .line 97
    const v5, 0x7f03003b

    const/4 v6, 0x0

    invoke-virtual {v0, v5, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 98
    .local v4, view:Landroid/view/View;
    const v5, 0x7f0c00f5

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    .line 99
    .local v1, more:Landroid/widget/Button;
    const v5, 0x7f0b001a

    invoke-virtual {v1, v5}, Landroid/widget/Button;->setText(I)V

    .line 100
    invoke-virtual {v1, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 101
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v5, v1}, Lcom/netease/newsreader/view/LoadingListView;->setLoadingMoreView(Landroid/view/View;)V

    .line 102
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v5}, Lcom/netease/newsreader/view/LoadingListView;->getListView()Landroid/widget/ListView;

    move-result-object v5

    invoke-virtual {v5, v4}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 103
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v5}, Lcom/netease/newsreader/view/LoadingListView;->getListView()Landroid/widget/ListView;

    move-result-object v5

    invoke-virtual {v5, p0}, Landroid/widget/ListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 104
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v5}, Lcom/netease/newsreader/view/LoadingListView;->getListView()Landroid/widget/ListView;

    move-result-object v5

    invoke-virtual {v5, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 107
    const v5, 0x7f0c0124

    invoke-virtual {p0, v5}, Lcom/netease/newsreader/activity/ReplyMeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    iput-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    .line 108
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const v6, 0x7f0c00bd

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/EditText;

    iput-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    .line 109
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const v6, 0x7f0c00bc

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v7}, Landroid/view/View;->setVisibility(I)V

    .line 110
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const v6, 0x7f0c0127

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    const/16 v6, 0x8

    invoke-virtual {v5, v6}, Landroid/view/View;->setVisibility(I)V

    .line 111
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const v6, 0x7f0c00bf

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    .line 112
    .local v2, replyButton:Landroid/widget/Button;
    invoke-virtual {v2, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 115
    new-instance v5, Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-direct {v5, p0}, Lcom/netease/newsreader/view/CommentToolsPopup;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    .line 116
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    const v6, 0x7f030042

    invoke-virtual {v5, v6}, Lcom/netease/newsreader/view/CommentToolsPopup;->setContentView(I)V

    .line 117
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v5}, Lcom/netease/newsreader/view/CommentToolsPopup;->getContentView()Landroid/view/View;

    move-result-object v5

    const v6, 0x7f0c0063

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    .line 118
    .local v3, replyView:Landroid/view/View;
    invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V

    .line 119
    iget-object v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    const/4 v6, 0x4

    new-array v6, v6, [I

    fill-array-data v6, :array_0

    invoke-virtual {v5, p0, v6}, Lcom/netease/newsreader/view/CommentToolsPopup;->setOnClickListener(Landroid/view/View$OnClickListener;[I)V

    .line 122
    return-void

    .line 119
    nop

    :array_0
    .array-data 0x4
        0x61t 0x0t 0xct 0x7ft
        0x63t 0x0t 0xct 0x7ft
        0x62t 0x0t 0xct 0x7ft
        0x2t 0x1t 0xct 0x7ft
    .end array-data
.end method

.method private isLogin()Z
    .locals 1

    .prologue
    .line 149
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method private isLoginChanged()Z
    .locals 2

    .prologue
    .line 153
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v0}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getAccount()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method private onLoginChanged()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 157
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v0}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getAccount()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    .line 158
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->isLogin()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 159
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->startLoading()V

    .line 165
    :goto_0
    return-void

    .line 161
    :cond_0
    iput-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMe:Ljava/util/Map;

    .line 162
    iput-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    .line 163
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v0}, Lcom/netease/newsreader/view/LoadingListView;->reset()V

    goto :goto_0
.end method

.method private replyComment(Ljava/util/Map;Ljava/lang/String;)V
    .locals 11
    .parameter
    .parameter "str"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .local p1, map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const/4 v10, 0x1

    const/4 v5, 0x0

    .line 392
    if-nez p1, :cond_1

    .line 457
    :cond_0
    :goto_0
    return-void

    .line 396
    :cond_1
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 397
    const-string v0, "\u4e0d\u80fd\u53d1\u7a7a\u6d88\u606f"

    invoke-static {p0, v0, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 399
    :cond_2
    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    const/16 v1, 0x3e8

    if-gt v0, v1, :cond_3

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    const/4 v1, 0x2

    if-ge v0, v1, :cond_4

    .line 400
    :cond_3
    const-string v0, "\u56de\u590d\u8bf7\u57282-1000\u5b57\u5185"

    invoke-static {p0, v0, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 404
    :cond_4
    const-string v0, "bd"

    invoke-static {p1, v0}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    .end local p1           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast p1, Ljava/util/Map;

    .line 405
    .restart local p1       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-interface {p1}, Ljava/util/Map;->size()I

    move-result v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    .end local p1           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast p1, Ljava/util/Map;

    .line 407
    .restart local p1       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v0, "pi"

    invoke-static {p1, v0}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 408
    .local v4, pi:Ljava/lang/String;
    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 413
    const-string v0, "_"

    invoke-virtual {v4, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v9

    .line 414
    .local v9, ss:[Ljava/lang/String;
    if-eqz v9, :cond_5

    array-length v0, v9

    if-lez v0, :cond_5

    .line 415
    aget-object v3, v9, v5

    .line 420
    .local v3, docid:Ljava/lang/String;
    :goto_1
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 424
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->isLogin()Z

    move-result v0

    if-nez v0, :cond_6

    .line 425
    new-instance v7, Landroid/content/Intent;

    const-class v0, Lcom/netease/newsreader/activity/AccountLogin;

    invoke-direct {v7, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 426
    .local v7, Loginintent:Landroid/content/Intent;
    const/high16 v0, 0x1000

    invoke-virtual {v7, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 427
    new-instance v8, Landroid/os/Bundle;

    invoke-direct {v8}, Landroid/os/Bundle;-><init>()V

    .line 429
    .local v8, bundle:Landroid/os/Bundle;
    const-string v0, "isreply"

    invoke-virtual {v8, v0, v10}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 430
    const-string v0, "replyWithQuote"

    invoke-virtual {v8, v0, v10}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 432
    const-string v0, "replydocid"

    invoke-virtual {v8, v0, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 433
    const-string v0, "replyquote"

    invoke-virtual {v8, v0, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 434
    const-string v1, "replyBoard"

    const-string v0, "bi"

    invoke-static {p1, v0}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v8, v1, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 435
    const-string v0, "replycontent"

    invoke-virtual {v8, v0, p2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 436
    invoke-virtual {v7, v8}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 437
    invoke-virtual {p0, v7}, Lcom/netease/newsreader/activity/ReplyMeActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 417
    .end local v3           #docid:Ljava/lang/String;
    .end local v7           #Loginintent:Landroid/content/Intent;
    .end local v8           #bundle:Landroid/os/Bundle;
    :cond_5
    const/4 v3, 0x0

    .restart local v3       #docid:Ljava/lang/String;
    goto :goto_1

    .line 441
    :cond_6
    iget-object v6, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    .line 442
    .local v6, account:Ljava/lang/String;
    const-string v0, "bi"

    invoke-static {p1, v0}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 444
    .local v2, board:Ljava/lang/String;
    invoke-virtual {p0, v5}, Lcom/netease/newsreader/activity/ReplyMeActivity;->showDialog(I)V

    .line 445
    new-instance v10, Ljava/lang/Thread;

    new-instance v0, Lcom/netease/newsreader/activity/ReplyMeActivity$4;

    move-object v1, p0

    move-object v5, p2

    invoke-direct/range {v0 .. v6}, Lcom/netease/newsreader/activity/ReplyMeActivity$4;-><init>(Lcom/netease/newsreader/activity/ReplyMeActivity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {v10, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 456
    invoke-virtual {v10}, Ljava/lang/Thread;->start()V

    goto/16 :goto_0
.end method

.method private startLoadingMore()V
    .locals 5

    .prologue
    .line 220
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->isLogin()Z

    move-result v2

    if-nez v2, :cond_1

    .line 248
    :cond_0
    :goto_0
    return-void

    .line 223
    :cond_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2}, Lcom/netease/newsreader/view/LoadingListView;->inLoading()Z

    move-result v2

    if-nez v2, :cond_0

    .line 227
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const v3, 0x7f0c0070

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Lcom/netease/newsreader/activity/MyCommentsActivity;->setViewVisibility(II)V

    .line 228
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2}, Lcom/netease/newsreader/view/LoadingListView;->getLoadingMoreView()Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    const v3, 0x7f0b001b

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(I)V

    .line 229
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    .line 230
    .local v0, account:Ljava/lang/String;
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2}, Lcom/netease/newsreader/view/LoadingListView;->getPage()I

    move-result v2

    add-int/lit8 v1, v2, 0x1

    .line 231
    .local v1, page:I
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2, v1}, Lcom/netease/newsreader/view/LoadingListView;->startLoadingMore(I)V

    .line 232
    new-instance v2, Ljava/lang/Thread;

    new-instance v3, Lcom/netease/newsreader/activity/ReplyMeActivity$2;

    invoke-direct {v3, p0, v0, v1}, Lcom/netease/newsreader/activity/ReplyMeActivity$2;-><init>(Lcom/netease/newsreader/activity/ReplyMeActivity;Ljava/lang/String;I)V

    invoke-direct {v2, v3}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 247
    invoke-virtual {v2}, Ljava/lang/Thread;->start()V

    goto :goto_0
.end method


# virtual methods
.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 2
    .parameter "event"

    .prologue
    const/4 v0, 0x1

    .line 169
    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v1, p1}, Lcom/netease/newsreader/view/CommentToolsPopup;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 177
    :cond_0
    :goto_0
    return v0

    .line 173
    :cond_1
    invoke-direct {p0, p1}, Lcom/netease/newsreader/activity/ReplyMeActivity;->dispatchKeyForReply(Landroid/view/KeyEvent;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 177
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public onApplyTheme()V
    .locals 4

    .prologue
    const v3, 0x7f0c00bf

    .line 602
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 603
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    .line 604
    .local v0, themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;
    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-direct {p0, v1}, Lcom/netease/newsreader/activity/ReplyMeActivity;->applyLoadingListView(Lcom/netease/newsreader/view/LoadingListView;)V

    .line 606
    const v1, 0x7f0c0126

    const v2, 0x7f0200e0

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 607
    const v1, 0x7f020086

    invoke-virtual {v0, p0, v3, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 608
    const v1, 0x7f080027

    invoke-virtual {v0, p0, v3, v1}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 609
    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyFrameView:Landroid/view/View;

    const v2, 0x7f0200df

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 611
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 370
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    .line 371
    .local v0, id:I
    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v3}, Lcom/netease/newsreader/view/CommentToolsPopup;->isShowing()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-direct {p0, v0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->dispatchToolPopupClick(I)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 389
    :goto_0
    return-void

    .line 375
    :cond_0
    sparse-switch v0, :sswitch_data_0

    goto :goto_0

    .line 380
    :sswitch_0
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/Map;

    .line 381
    .local v1, map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    invoke-virtual {v3}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v3

    if-eqz v3, :cond_1

    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyEditText:Landroid/widget/EditText;

    invoke-virtual {v3}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v3

    invoke-interface {v3}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    .line 383
    .local v2, str:Ljava/lang/String;
    :goto_1
    invoke-direct {p0, v1, v2}, Lcom/netease/newsreader/activity/ReplyMeActivity;->replyComment(Ljava/util/Map;Ljava/lang/String;)V

    goto :goto_0

    .line 377
    .end local v1           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v2           #str:Ljava/lang/String;
    :sswitch_1
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->startLoadingMore()V

    goto :goto_0

    .line 382
    .restart local v1       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_1
    const/4 v2, 0x0

    goto :goto_1

    .line 375
    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c00bf -> :sswitch_0
        0x7f0c00f5 -> :sswitch_1
    .end sparse-switch
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1
    .parameter "savedInstanceState"

    .prologue
    .line 84
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 85
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->requestWindowFeature(I)Z

    .line 87
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->getMyParent()Lcom/netease/newsreader/activity/MyCommentsActivity;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    .line 88
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v0}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getSharedPreferences()Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0, p0}, Landroid/content/SharedPreferences;->registerOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V

    .line 89
    const v0, 0x7f030053

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->setContentView(I)V

    .line 90
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->init()V

    .line 91
    return-void
.end method

.method protected onCreateDialog(I)Landroid/app/Dialog;
    .locals 2
    .parameter "id"

    .prologue
    .line 135
    packed-switch p1, :pswitch_data_0

    .line 145
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreateDialog(I)Landroid/app/Dialog;

    move-result-object v0

    :goto_0
    return-object v0

    .line 137
    :pswitch_0
    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    .line 138
    .local v0, progressDialog:Landroid/app/ProgressDialog;
    const-string v1, "\u6b63\u5728\u53d1\u8868\u8ddf\u8d34..."

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    .line 139
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    goto :goto_0

    .line 135
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
    .end packed-switch
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 182
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onDestroy()V

    .line 183
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v0}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getSharedPreferences()Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0, p0}, Landroid/content/SharedPreferences;->unregisterOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V

    .line 184
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v0}, Lcom/netease/newsreader/view/CommentToolsPopup;->dismiss()V

    .line 185
    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 8
    .parameter
    .parameter "view"
    .parameter "position"
    .parameter "itemId"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .local p1, adapterView:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    const v5, 0x7f0c0102

    .line 344
    invoke-virtual {p1, p3}, Landroid/widget/AdapterView;->getItemAtPosition(I)Ljava/lang/Object;

    move-result-object v2

    .line 345
    .local v2, tag:Ljava/lang/Object;
    if-eqz v2, :cond_0

    move-object v1, v2

    .line 346
    check-cast v1, Ljava/util/Map;

    .line 347
    .local v1, map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v4, "bd"

    invoke-static {v1, v4}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    .end local v1           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v1, Ljava/util/Map;

    .line 348
    .restart local v1       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-interface {v1}, Ljava/util/Map;->size()I

    move-result v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-static {v1, v4}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    .end local v1           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    check-cast v1, Ljava/util/Map;

    .line 350
    .restart local v1       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v4, "k"

    invoke-static {v1, v4}, Lcom/netease/newsreader/util/ModelUtils;->getValue(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 351
    .local v3, url:Ljava/lang/String;
    invoke-static {v3}, Lcom/netease/newsreader/model/Comment;->validateArticleUrl(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 352
    iget-object v4, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v4}, Lcom/netease/newsreader/view/CommentToolsPopup;->getContentView()Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    .line 356
    :goto_0
    iget-object v4, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v4, v2}, Lcom/netease/newsreader/view/CommentToolsPopup;->setTag(Ljava/lang/Object;)V

    .line 358
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v4

    iget v4, v4, Landroid/util/DisplayMetrics;->density:F

    const/high16 v5, 0x425c

    mul-float/2addr v4, v5

    float-to-int v0, v4

    .line 359
    .local v0, height:I
    iget-object v4, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    iget v5, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopupX:I

    iget v6, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopupY:I

    .line 360
    invoke-virtual {p1}, Landroid/widget/AdapterView;->getHeight()I

    move-result v7

    sub-int/2addr v6, v7

    sub-int/2addr v6, v0

    .line 359
    invoke-virtual {v4, p1, v5, v6}, Lcom/netease/newsreader/view/CommentToolsPopup;->showAsDropDown(Landroid/view/View;II)V

    .line 366
    .end local v0           #height:I
    .end local v1           #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    .end local v3           #url:Ljava/lang/String;
    :cond_0
    return-void

    .line 354
    .restart local v1       #map:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    .restart local v3       #url:Ljava/lang/String;
    :cond_1
    iget-object v4, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopup:Lcom/netease/newsreader/view/CommentToolsPopup;

    invoke-virtual {v4}, Lcom/netease/newsreader/view/CommentToolsPopup;->getContentView()Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method protected onResume()V
    .locals 1

    .prologue
    .line 126
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onResume()V

    .line 128
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->isLoginChanged()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 129
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->onLoginChanged()V

    .line 131
    :cond_0
    return-void
.end method

.method public onSharedPreferenceChanged(Landroid/content/SharedPreferences;Ljava/lang/String;)V
    .locals 2
    .parameter "sharedPreferences"
    .parameter "key"

    .prologue
    .line 633
    const-string v0, "account"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 634
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->isLoginChanged()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 635
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/netease/newsreader/activity/ReplyMeActivity$5;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/ReplyMeActivity$5;-><init>(Lcom/netease/newsreader/activity/ReplyMeActivity;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 653
    :cond_0
    :goto_0
    return-void

    .line 641
    :cond_1
    const-string v0, "currentSizeId"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 642
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    if-eqz v0, :cond_0

    .line 643
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/netease/newsreader/activity/ReplyMeActivity$6;

    invoke-direct {v1, p0, p1, p2}, Lcom/netease/newsreader/activity/ReplyMeActivity$6;-><init>(Lcom/netease/newsreader/activity/ReplyMeActivity;Landroid/content/SharedPreferences;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0
.end method

.method public onTabSlected()V
    .locals 3

    .prologue
    .line 189
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    if-eqz v0, :cond_0

    .line 190
    iget-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const v2, 0x7f0c0070

    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v0}, Lcom/netease/newsreader/view/LoadingListView;->inLoading()Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v2, v0}, Lcom/netease/newsreader/activity/MyCommentsActivity;->setViewVisibility(II)V

    .line 194
    :cond_0
    return-void

    .line 191
    :cond_1
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 2
    .parameter "v"
    .parameter "event"

    .prologue
    .line 335
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    .line 336
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopupX:I

    .line 337
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    float-to-int v0, v0

    iput v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mToolPopupY:I

    .line 339
    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public startLoading()V
    .locals 4

    .prologue
    const/4 v1, 0x0

    .line 251
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->isLogin()Z

    move-result v2

    if-nez v2, :cond_1

    .line 281
    :cond_0
    :goto_0
    return-void

    .line 254
    :cond_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    invoke-virtual {v2}, Lcom/netease/newsreader/view/LoadingListView;->inLoading()Z

    move-result v2

    if-nez v2, :cond_0

    .line 258
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mParent:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const v3, 0x7f0c0070

    invoke-virtual {v2, v3, v1}, Lcom/netease/newsreader/activity/MyCommentsActivity;->setViewVisibility(II)V

    .line 259
    iget-object v0, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mAccount:Ljava/lang/String;

    .line 260
    .local v0, account:Ljava/lang/String;
    iget-object v2, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mListView:Lcom/netease/newsreader/view/LoadingListView;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMeAdapter:Lcom/netease/newsreader/adapter/ReplyMeAdapter;

    if-nez v3, :cond_2

    const/4 v1, 0x1

    :cond_2
    invoke-virtual {v2, v1}, Lcom/netease/newsreader/view/LoadingListView;->startLoading(Z)V

    .line 262
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/netease/newsreader/activity/ReplyMeActivity;->mReplyMe:Ljava/util/Map;

    .line 263
    new-instance v1, Ljava/lang/Thread;

    new-instance v2, Lcom/netease/newsreader/activity/ReplyMeActivity$3;

    invoke-direct {v2, p0, v0}, Lcom/netease/newsreader/activity/ReplyMeActivity$3;-><init>(Lcom/netease/newsreader/activity/ReplyMeActivity;Ljava/lang/String;)V

    invoke-direct {v1, v2}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 279
    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    goto :goto_0
.end method
